package com.nulldev.util.web.YouTubeExtractor.advertising;

import java.util.List;

import com.nulldev.util.data.Variables;

public class YTEAdvertisingMetadata {

	private final List<YTEAdPlacement> adPlacements;
	private final boolean companionEnabled, instreamEnabled, showGUT;
	private final String GUTparams, videoID;

	public YTEAdvertisingMetadata(final List<YTEAdPlacement> adPlacements, final boolean companionEnabled, final boolean instreamEnabled, final boolean showGUT,
			final String GUTparams, final String videoID) {
		this.adPlacements = Variables.requireNonNullObject(adPlacements, "adPlacements");
		this.videoID = Variables.requireNonNullObject(videoID, "videoID");
		this.companionEnabled = companionEnabled;
		this.instreamEnabled = instreamEnabled;
		this.showGUT = showGUT;
		this.GUTparams = GUTparams;
	}

	public String videoID() {
		return this.videoID;
	}

	public List<YTEAdPlacement> getAdPlacements() {
		return adPlacements;
	}

	public boolean companionEnabled() {
		return this.companionEnabled;
	}

	public boolean instreamEnabled() {
		return this.instreamEnabled;
	}

	public boolean showGUT() {
		return this.showGUT;
	}

	public String GUTparams() {
		return this.GUTparams;
	}
}
